<?php

$binding = array(
	'email' => array(
		'type' => 'email',
		'label' => 'Email Address',
		'validation' =>array(
			array('rule'=>'required', 'message'=>'Please provide your email address'),
			array('rule'=>'email_in_db', 'message'=>'Email address not found')
		)
	),
	'password' => array(
		'type' => 'password',
		'label' => 'Password',
		'validation' =>array(
			array('rule'=>'required', 'message'=>'Please provide your password'),
			array('rule'=>'match_password', 'message'=>'Password incorrect')
		)
	)
);

?>